package cvi.com.reader.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 梅涛 on 2020/7/24.
 */

public class HomePageDataBean implements Serializable {

    /**
     * code : 1
     * msg : ok
     * rows : [{"id":16,"name":"热门朗读","pid":9,"desc":"","weigh":99,"status":"normal","flag":"hot","image":"/uploads/files/20190928/604f69a8ec82c7571653b3d06d112aa7.png","cover":"","has_children":0},{"id":17,"name":"中华经典诵读","pid":9,"desc":"","weigh":0,"status":"normal","flag":"","image":"/uploads/files/20190928/8a3f0ca5d5ab8fe8b42b3395cae0f708.png","cover":"","has_children":0},{"id":18,"name":"红色家书","pid":9,"desc":"","weigh":0,"status":"normal","flag":"","image":"/uploads/files/20190928/6f85d2a7370bf35bb2fab90e1fecc6e3.png","cover":"","has_children":0},{"id":19,"name":"趣味朗读","pid":9,"desc":"","weigh":0,"status":"normal","flag":"","image":"/uploads/files/20190928/f545c10787ad7d77610d8b0eee20e187.png","cover":"","has_children":0},{"id":20,"name":"学生原创","pid":9,"desc":"","weigh":0,"status":"normal","flag":"","image":"/uploads/files/20190928/f63a1884dcc52f83f0bc0eecd0d1cedb.png","cover":"","has_children":0},{"id":21,"name":"外语角","pid":9,"desc":"","weigh":0,"status":"normal","flag":"","image":"/uploads/files/20190928/bf9e62a64dc345dcec8388f79f3d331c.png","cover":"","has_children":0},{"id":22,"name":"一生必读的经典","pid":9,"desc":"","weigh":0,"status":"normal","flag":"","image":"/uploads/files/20200601/9613edf8e38da266510e5026524165da.png","cover":"","has_children":0}]
     */

    private int code;
    private String msg;
    private List<RowsBean> rows;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * id : 16
         * name : 热门朗读
         * pid : 9
         * desc :
         * weigh : 99
         * status : normal
         * flag : hot
         * image : /uploads/files/20190928/604f69a8ec82c7571653b3d06d112aa7.png
         * cover :
         * has_children : 0
         */

        private int id;
        private String name;
        private int pid;
        private String desc;
        private int weigh;
        private String status;
        private String flag;
        private String image;
        private String cover;
        private int has_children;
        private int icon;

        public int getIcon() {
            return icon;
        }

        public void setIcon(int icon) {
            this.icon = icon;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getWeigh() {
            return weigh;
        }

        public void setWeigh(int weigh) {
            this.weigh = weigh;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public int getHas_children() {
            return has_children;
        }

        public void setHas_children(int has_children) {
            this.has_children = has_children;
        }
    }
}
